define(['app'], function(app) {
	'use strict';

	var controller = function controller($scope,Custom_list,GoPage) {
		
		//页面跳转
		$scope.onshow_comment = function(id){
			GoPage.go_states("custom_comment",{"id":id})
		}
		$scope.onshow_dialog = function(id){
			GoPage.go_states("custom_dialog",{"id":id})
		}
		
		
		
	}

	controller.$inject = ['$scope',"Custom_list","GoPage"];

	return app.registerController("custom_listctrl",controller);
});